package com.nbgroup.service;

import com.nbgroup.dao.PlatformRepositoty;
import com.nbgroup.entity.Platform;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;


@Service
@Transactional
public class PlatformService {

    @Autowired
    private PlatformRepositoty platformRepositoty;


    public List<Platform> findPlatform(){
        return  this.platformRepositoty.findPlatForm();
    }
}
